﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="RegisterStudent.aspx.vb" Inherits="DARSClients.RegisterStudent" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
 <title>Beyond DARS - New Student Registration</title>
 <script type="text/javascript" src="Scripts/myScripts.js" language="javascript"></script>
    <link id="myCSS" href="Styles/myStyle.css" rel="stylesheet" type="text/css" />
     <style type="text/css">
         .style1
         {
             width: 120px;
         }
         .style2
         {
             width: 308px;
         }
         .style4
         {
             width: 464px;
         }
         .style5
         {
             width: 226px;
         }
     </style>
     </head>

<body>
  <div class="container">

        <div class="title-nav">

            <h2>Register a New Student <br /><h1>To register a new student, please complete the form below!</h1></h2>

        </div>
        <form id="RegisterStudent" runat="server">
        <div class="newLine">  
            <table class="style4">
            <table align="center">
                <tr>
                    <td class="style1">
                                Username:</td>
                    <td class="style2">
                                <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
                            </td>
                </tr>
                <tr>
                    <td class="style1">
                                Password:
                            </td>
                    <td class="style2">
                                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
                            </td>
                </tr>
                <tr>
                            <td>Confirm Password:
                            </td>
                            <td class="style2">
                                <asp:TextBox ID="txtConfirmPassword" runat="server" TextMode="Password"></asp:TextBox>
                            </td>
                        </tr>
                    </td>
                <tr>
                            <td>&nbsp;</td>
                            <td class="style2">
                                <asp:Button ID="btnCheck" runat="server" Text="Check Availability" CssClass="btn2"/>&nbsp;</td>
                        </tr>
                <tr>
                            <td colspan="2" style="text-align: left">
                                <asp:Label ID="lblValidate" runat="server" Font-Bold="True" 
                                    Font-Size="Medium" ForeColor="Red"></asp:Label>
                    </td>
                        </tr>
                <tr>
                            <td>
                                <asp:CompareValidator ID="valPasswordMatch" runat="server" 
                                    ControlToCompare="txtPassword" ControlToValidate="txtConfirmPassword" 
                                    ErrorMessage="CompareValidator" Font-Bold="True" Font-Names="Arial" 
                                    ForeColor="Red">Passwords Must Match!</asp:CompareValidator>
                    </td>
                            <td class="style2">
                                <asp:Label ID="lblValidateExist" runat="server" Font-Bold="True" 
                                    Font-Size="Medium" ForeColor="Red" Text="Username Already Exists"></asp:Label>
                    </td>
                        </tr>
                    </table>
            <br />
        </div>

        <div class="content">

            

                &nbsp;<asp:Panel ID="pnlUserInfo" runat="server">
                    <table align="center">
                        <tr>
                            <td>
                                First Name:
                            </td>
                            <td class="style5">
                                <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Last Name:
                            </td>
                            <td class="style5">
                                <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Address:
                            </td>
                            <td class="style5">
                                <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                City:
                            </td>
                            <td class="style5">
                                <asp:TextBox ID="txtCity" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                State:
                            </td>
                            <td class="style5">
                                <asp:DropDownList ID="ddlState" runat="server">
                                <asp:ListItem Value="AL">Alabama</asp:ListItem>
	<asp:ListItem Value="AK">Alaska</asp:ListItem>
	<asp:ListItem Value="AZ">Arizona</asp:ListItem>
	<asp:ListItem Value="AR">Arkansas</asp:ListItem>
	<asp:ListItem Value="CA">California</asp:ListItem>
	<asp:ListItem Value="CO">Colorado</asp:ListItem>
	<asp:ListItem Value="CT">Connecticut</asp:ListItem>
	<asp:ListItem Value="DC">District of Columbia</asp:ListItem>
	<asp:ListItem Value="DE">Delaware</asp:ListItem>
	<asp:ListItem Value="FL">Florida</asp:ListItem>
	<asp:ListItem Value="GA">Georgia</asp:ListItem>
	<asp:ListItem Value="HI">Hawaii</asp:ListItem>
	<asp:ListItem Value="ID">Idaho</asp:ListItem>
	<asp:ListItem Value="IL">Illinois</asp:ListItem>
	<asp:ListItem Value="IN">Indiana</asp:ListItem>
	<asp:ListItem Value="IA">Iowa</asp:ListItem>
	<asp:ListItem Value="KS">Kansas</asp:ListItem>
	<asp:ListItem Value="KY">Kentucky</asp:ListItem>
	<asp:ListItem Value="LA">Louisiana</asp:ListItem>
	<asp:ListItem Value="ME">Maine</asp:ListItem>
	<asp:ListItem Value="MD">Maryland</asp:ListItem>
	<asp:ListItem Value="MA">Massachusetts</asp:ListItem>
	<asp:ListItem Value="MI">Michigan</asp:ListItem>
	<asp:ListItem Value="MN">Minnesota</asp:ListItem>
	<asp:ListItem Value="MS">Mississippi</asp:ListItem>
	<asp:ListItem Value="MO">Missouri</asp:ListItem>
	<asp:ListItem Value="MT">Montana</asp:ListItem>
	<asp:ListItem Value="NE">Nebraska</asp:ListItem>
	<asp:ListItem Value="NV">Nevada</asp:ListItem>
	<asp:ListItem Value="NH">New Hampshire</asp:ListItem>
	<asp:ListItem Value="NJ">New Jersey</asp:ListItem>
	<asp:ListItem Value="NM">New Mexico</asp:ListItem>
	<asp:ListItem Value="NY">New York</asp:ListItem>
	<asp:ListItem Value="NC">North Carolina</asp:ListItem>
	<asp:ListItem Value="ND">North Dakota</asp:ListItem>
	<asp:ListItem Value="OH">Ohio</asp:ListItem>
	<asp:ListItem Value="OK">Oklahoma</asp:ListItem>
	<asp:ListItem Value="OR">Oregon</asp:ListItem>
	<asp:ListItem Value="PA">Pennsylvania</asp:ListItem>
	<asp:ListItem Value="RI">Rhode Island</asp:ListItem>
	<asp:ListItem Value="SC">South Carolina</asp:ListItem>
	<asp:ListItem Value="SD">South Dakota</asp:ListItem>
	<asp:ListItem Value="TN">Tennessee</asp:ListItem>
	<asp:ListItem Value="TX">Texas</asp:ListItem>
	<asp:ListItem Value="UT">Utah</asp:ListItem>
	<asp:ListItem Value="VT">Vermont</asp:ListItem>
	<asp:ListItem Value="VA">Virginia</asp:ListItem>
	<asp:ListItem Value="WA">Washington</asp:ListItem>
	<asp:ListItem Value="WV">West Virginia</asp:ListItem>
	<asp:ListItem Value="WI">Wisconsin</asp:ListItem>
	<asp:ListItem Value="WY">Wyoming</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Zipcode:
                            </td>
                            <td class="style5">
                                <asp:TextBox ID="txtZipcode" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Phone Number:
                            </td>
                            <td class="style5">
                                <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Email:
                            </td>
                            <td class="style5">
                                <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Confirm Email:
                            </td>
                            <td class="style5">
                                <asp:TextBox ID="txtConfirmEmail" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                <asp:CompareValidator ID="valEmailMatch" runat="server" 
                                    ControlToCompare="txtEmail" ControlToValidate="txtConfirmEmail" 
                                    ErrorMessage="CompareValidator" Font-Bold="True" Font-Names="Arial" 
                                    ForeColor="Red">Emails Must Match!</asp:CompareValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Social Security:
                            </td>
                            <td class="style5">
                                <asp:TextBox ID="txtSocial" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Security Question 1:</td>
                            <td class="style5">
                                <asp:TextBox ID="Q1txt" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Answer 1:</td>
                            <td class="style5">
                                <asp:TextBox ID="A1txt" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Security Question 2:</td>
                            <td class="style5">
                                <asp:TextBox ID="Q2txt" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Answer 2:</td>
                            <td class="style5">
                                <asp:TextBox ID="A2txt" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:Label ID="lblComplete" runat="server" Font-Bold="True" Font-Size="Medium" 
                                    ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Button ID="btnClear" runat="server" CssClass="btn2" Text="Clear" />
                            </td>
                            <td class="style5">
                                <asp:Button ID="btnSubmit" runat="server" CssClass="btn2" Text="Submit" />
                            </td>
                        </tr>
                    </table>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</asp:Panel>
                
            </p>



        </div>
        </div>
    <div class="footer">
        <a><input  type="submit" class="text_button" id="btnLogout" runat="server" 
                value="Logout" causesvalidation="False" />
           <input type="submit" class="text_button" id="btnhome" runat="server" 
                value="Home" causesvalidation="False" /> </a>
        </div>
        </form>
</body>
</html>
